package com.lyz.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tb_book")
public class Book {
    @TableId
    private String isbn;
    private String name;
    private String author;
    private String press;
    @TableField("publish_time")
    private String publishTime;
    private Float price;
    private Integer storage;
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;
}
